<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>

<%@ taglib prefix="s" uri="/struts-tags" %>

<%@ taglib prefix="odb" uri="/oracle-dashboard" %>


<h2>AWR Setting</h2>
(Reference: <a target='_blank' 
	href='http://docs.oracle.com/cd/E11882_01/server.112/e25513/statviews_4072.htm#REFRN23462'>
	DBA_HIST_WR_CONTROL</a>)
	
<br/><br/><br/>

<form action='configure-awr-execute'>
	<table>
		<tr>
			<td class='field-label'>DBID:</td>
			<td>${awrsetting.dbid}</td>
		</tr>
		<tr>
			<td class='field-label '>Topnsql:</td>
			<td>${awrsetting.topnsql}</td>
		</tr>
		<tr>
			<td class='field-label '>Interval:</td>
			<td><input type='text' size='50' name='interval' value='${awrsetting.interval}' /> (MINUTES)</td>
		</tr>
		<tr>
			<td class='field-label '>Retention:</td>
			<td><input type='text' size='50' name='retention' value='${awrsetting.retention}' /> (MINUTES)</td>
		</tr>
		<tr>
			<td class='field-label '></td>
			<td><input type='submit' value='Modify' class='button' /></td>
		</tr>
	</table>
	

</form>



<script>
	$(function() {		
		$('.button').button();
	});
</script>